/**
 * @(#)ValidationException.java
 *
 * @author Alan Salnikov
 * @author Mankin Yuen
 * @author William Clark
 * @version 1.00 2008/12/2
 */
package edg.acm;

import java.util.*;

/**
 * Thrown when required parameters are not present in the model. Has a method,
 * getMissing(), that provides a list of parameters that are missing.
 */
public class ValidationException extends Exception {

	List<String> list;

	public ValidationException(List l) {
		list = new LinkedList<String>(l);
	}

	public List<String> getMissing() {
		return Collections.unmodifiableList(list);
	}
}